<!--
  This file is a part of the open-eBackup project.
  This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
  If a copy of the MPL was not distributed with this file, You can obtain one at
  http://mozilla.org/MPL/2.0/.
  
  Copyright (c) [2024] Huawei Technologies Co.,Ltd.
  
  THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
  EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
  MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
  -->


<!DOCTYPE html
  PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html lang="en-us" xml:lang="en-us">
<head>
      <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
   
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="DC.Type" content="topic">
<meta name="DC.Title" content="Restoring Hyper-V VM Disks">
<meta name="product" content="">
<meta name="DC.Relation" scheme="URI" content="en-us_topic_0000002200100381.html">
<meta name="prodname" content="">
<meta name="version" content="">
<meta name="brand" content="">
<meta name="DC.Publisher" content="20250306">
<meta name="prodname" content="csbs">
<meta name="documenttype" content="usermanual">
<meta name="DC.Format" content="XHTML">
<meta name="DC.Identifier" content="EN-US_TOPIC_0000002200100361">
<meta name="DC.Language" content="en-us">
<link rel="stylesheet" type="text/css" href="public_sys-resources/commonltr.css">
<title>Restoring Hyper-V VM Disks</title>
</head>
<body style="clear:both; padding-left:10px; padding-top:5px; padding-right:5px; padding-bottom:5px"><a name="EN-US_TOPIC_0000002200100361"></a><a name="EN-US_TOPIC_0000002200100361"></a>

<h1 class="topictitle1">Restoring Hyper-V VM Disks</h1>
<div><p>This section describes how to restore disks of a VM that has been backed up to the original VM or a new VM.</p>
<div class="section"><h4 class="sectiontitle">Context</h4><p>The <span>OceanProtect</span> allows you to restore disks to the original or a new VM using backup copies or replication copies (restoration to the original VM is not supported).</p>
<ul><li>Restoring disks to the original VM<p>When restoring disks to the original VM, the existing disks in the corresponding slots of the original VM will be replaced if any.</p>
</li><li>Restoring disks to a new VM<p>When restoring disks to a new VM, the existing disks in the corresponding slots of the new VM will be replaced if any.</p>
<div class="note"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p>When restoring disks to a VM, ensure that the target VM has disks to be selected.</p>
</div></div>
</li></ul>
</div>
<div class="section"><h4 class="sectiontitle">Procedure</h4><ol><li><span>Choose <span class="uicontrol" id="EN-US_TOPIC_0000002200100361__en-us_topic_0000002199964685_uicontrol66667531188"><b><span id="EN-US_TOPIC_0000002200100361__en-us_topic_0000002199964685_text86661453985"><strong>Explore</strong></span> &gt; <span id="EN-US_TOPIC_0000002200100361__en-us_topic_0000002199964685_text26661531582"><strong>Copy Data</strong></span> &gt; <span id="EN-US_TOPIC_0000002200100361__en-us_topic_0000002199964685_text56671153582"><strong>Virtualization</strong></span> &gt; Hyper-V</b></span>.</span></li><li><span>You can search for a copy by VM or copy. This section uses a VM as an example.</span><p><p>Click <strong>Resources</strong> to switch to the corresponding page, search for the VM to be restored by name, and click the VM name.</p>
</p></li><li><span>Click <span class="uicontrol"><b><span><strong>Copy Data</strong></span></b></span> and select the year, month, and day in sequence to find the copy.</span><p><p>If <span><img src="en-us_image_0000002200015121.png"></span> is displayed below a month or day, a copy is generated in the month or on the day.</p>
</p></li><li><span>In the row of the target copy, choose <span class="uicontrol"><b><span><strong>More</strong></span> &gt; Disk Restoration</b></span>.</span></li><li><span>Select the disks to be restored and click <span class="uicontrol"><b>Select</b></span>.</span></li><li><span>Restore the VM disks to the original VM or a new VM.</span><p><ul><li>Restore the VM disks to the original VM.<ol type="a"><li>Select <span class="uicontrol"><b><span><strong>Original location</strong></span></b></span>.</li><li>Select whether to automatically start the VM after the restoration.</li><li>Select whether to delete the original VM after the restoration.</li></ol>
</li><li>Restore the VM disks to a new VM.<ol type="a"><li>Select <span class="uicontrol"><b><span><strong>New location</strong></span></b></span>.</li><li>Set information about a new location to which the VM is to be restored.<div class="p"><a href="#EN-US_TOPIC_0000002200100361__table330165812189">Table 1</a> describes the related parameters.
<div class="tablenoborder"><a name="EN-US_TOPIC_0000002200100361__table330165812189"></a><a name="table330165812189"></a><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000002200100361__table330165812189" frame="border" border="1" rules="all"><caption><b>Table 1 </b>New VM information</caption><colgroup><col style="width:29.87%"><col style="width:70.13000000000001%"></colgroup><thead align="left"><tr><th align="left" class="cellrowborder" valign="top" width="29.87%" id="mcps1.3.3.2.6.2.1.2.1.2.1.2.2.3.1.1"><p>Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="70.13000000000001%" id="mcps1.3.3.2.6.2.1.2.1.2.1.2.2.3.1.2"><p>Description</p>
</th>
</tr>
</thead>
<tbody><tr><td class="cellrowborder" valign="top" width="29.87%" headers="mcps1.3.3.2.6.2.1.2.1.2.1.2.2.3.1.1 "><p><span><strong>Compute Location</strong></span></p>
</td>
<td class="cellrowborder" valign="top" width="70.13000000000001%" headers="mcps1.3.3.2.6.2.1.2.1.2.1.2.2.3.1.2 "><p>Target VM to which the backup disk is restored.</p>
<div class="note"><span class="notetitle"> NOTE: </span><div class="notebody"><p>The OS type of the target VM must be the same as that of the source VM. For example, both of them run the Windows or Linux OS.</p>
</div></div>
</td>
</tr>
<tr><td class="cellrowborder" valign="top" width="29.87%" headers="mcps1.3.3.2.6.2.1.2.1.2.1.2.2.3.1.1 "><p><strong>Target VM</strong></p>
</td>
<td class="cellrowborder" valign="top" width="70.13000000000001%" headers="mcps1.3.3.2.6.2.1.2.1.2.1.2.2.3.1.2 "><p>Path for restoring the backup disks to the Hyper-V server.</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
</li><li>Select whether to automatically start the VM after the restoration.</li></ol>
</li></ul>
</p></li><li><span>Click <span class="uicontrol" id="EN-US_TOPIC_0000002200100361__en-us_topic_0000002164773708_uicontrol165325618248"><b>OK</b></span>.</span></li><li><span>Select the target datastore of the disk to be restored.</span></li><li><span>Click <span class="uicontrol"><b>OK</b></span>.</span></li></ol>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="en-us_topic_0000002200100381.html">Restoration</a></div>
</div>
</div>

<div class="hrcopyright"><hr size="2"></div><div class="hwcopyright">Copyright &copy; Huawei Technologies Co., Ltd.</div></body>
</html>